package 五子棋Java源代码;

//存放常量
public class GoBangContantes {
    //游戏界面宽和高
    public static final int GAME_WIDTH = 900;
    public static final int GAME_HEIGHT = 700;

    //棋盘宽和高
    public static final int PANEL_WIDTH = 650;
    public static final int PANEL_HEIGHT = 700;
    //线的大小和数量
    public static final int LINE_SIZE = 40;
    public static final int LINE_NUMBER = 12;
    //棋盘的偏移量和star
    public static final int OFFSET = 40;
    public static final int STAR = 10;

    //定义棋子
    public static final int EMPTY = 0;
    public static final int BLACK = 1;
    public static final int WHITE = 2;
}
